package com.define.commons.demo.webservice.service;

import com.define.commons.demo.webservice.domain.User;

import javax.jws.WebService;
import java.util.List;

/**
 * xxx
 *
 * @Author: 李国承
 * @Date: 2018/11/28 20:54
 */
@WebService(name = "userService", // 暴露服务名称
        targetNamespace = "http://service.webservice.demo.commons.define.com/")// 命名空间,一般是接口的包名倒序
public interface UserService {

    List<User> getAllUser();

    List<User> getById(Long[] ids);

    void deleteUser(Long id);

    void updataUser(User usr);

    void savaUser(User user);
}
